<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>量子计算：下一代计算革命的机遇与挑战 - InsightBlog</title>
    <link href="../../assets/css/tailwind.css" rel="stylesheet">
    <link href="../../assets/css/font-awesome.min.css" rel="stylesheet">

</head>
<body class="bg-gray-50 font-sans text-gray-800">
    <!-- 导航栏 -->
    <header id="main-header" class="fixed top-0 left-0 right-0 z-50 transition-all duration-500 py-4">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between items-center">
                <!-- Logo -->
                <a href="#" class="flex items-center space-x-3">
                    <div class="w-10 h-10 rounded-lg bg-white flex items-center justify-center shadow-lg">
                        <i class="fa fa-lightbulb-o text-2xl text-blue-600" aria-hidden="true"></i>
                    </div>
                    <span class="text-2xl font-bold text-white text-shadow">InsightBlog</span>
                </a>
                
                <!-- 桌面端导航 -->
                <nav class="hidden md:flex items-center space-x-8">
                    <a href="#" class="text-white/80 hover:text-white font-medium transition-colors relative group">
                        首页
                        <span class="absolute bottom-0 left-0 w-0 h-0.5 bg-white transition-all duration-300 group-hover:w-full"></span>
                    </a>
                    <a href="#" class="text-white hover:text-blue-100 font-medium transition-colors relative group">
                        发现
                        <span class="absolute bottom-0 left-0 w-0 h-0.5 bg-white transition-all duration-300 group-hover:w-full"></span>
                    </a>
                    <a href="#" class="text-white/80 hover:text-white font-medium transition-colors relative group">
                        分类
                        <span class="absolute bottom-0 left-0 w-0 h-0.5 bg-white transition-all duration-300 group-hover:w-full"></span>
                    </a>
                    <a href="#" class="text-white/80 hover:text-white font-medium transition-colors relative group">
                        专栏
                        <span class="absolute bottom-0 left-0 w-0 h-0.5 bg-white transition-all duration-300 group-hover:w-full"></span>
                    </a>
                    <a href="#" class="text-white/80 hover:text-white font-medium transition-colors relative group">
                        关于
                        <span class="absolute bottom-0 left-0 w-0 h-0.5 bg-white transition-all duration-300 group-hover:w-full"></span>
                    </a>
                </nav>
                
                <!-- 功能按钮区 -->
                <div class="flex items-center space-x-5">
                    <button class="text-white hover:text-blue-100 transition-colors">
                        <i class="fa fa-search text-xl" aria-hidden="true"></i>
                    </button>
                    <button class="hidden sm:flex items-center space-x-2 bg-white/10 hover:bg-white/20 backdrop-blur-sm text-white px-4 py-2 rounded-full transition-all">
                        <i class="fa fa-user-circle-o" aria-hidden="true"></i>
                        <span>登录</span>
                    </button>
                    <!-- 移动端菜单按钮 -->
                    <button class="md:hidden text-white hover:text-blue-100 transition-colors" id="mobile-menu-btn">
                        <i class="fa fa-bars text-2xl" aria-hidden="true"></i>
                    </button>
                </div>
            </div>
            
            <!-- 移动端导航菜单 -->
            <div class="md:hidden hidden mt-4 bg-white/95 backdrop-blur-md rounded-xl shadow-xl p-4" id="mobile-menu">
                <nav class="flex flex-col space-y-4">
                    <a href="#" class="text-gray-700 hover:text-blue-600 font-medium py-2 border-b border-gray-100 transition-colors">首页</a>
                    <a href="#" class="text-blue-600 font-medium py-2 border-b border-gray-100">发现</a>
                    <a href="#" class="text-gray-700 hover:text-blue-600 font-medium py-2 border-b border-gray-100 transition-colors">分类</a>
                    <a href="#" class="text-gray-700 hover:text-blue-600 font-medium py-2 border-b border-gray-100 transition-colors">专栏</a>
                    <a href="#" class="text-gray-700 hover:text-blue-600 font-medium py-2 transition-colors">关于</a>
                    <button class="flex items-center justify-center space-x-2 bg-blue-600 hover:bg-blue-700 text-white px-4 py-3 rounded-lg transition-all mt-2">
                        <i class="fa fa-user-circle-o" aria-hidden="true"></i>
                        <span>登录 / 注册</span>
                    </button>
                </nav>
            </div>
        </div>
    </header>

    <!-- 文章标题区域 -->
    <section class="hero-gradient pt-28 pb-16 md:pt-36 md:pb-24 relative overflow-hidden">
        <!-- 装饰元素 -->
        <div class="absolute top-0 left-0 w-full h-full overflow-hidden opacity-10">
            <div class="absolute -top-24 -right-24 w-96 h-96 rounded-full bg-white"></div>
            <div class="absolute bottom-1/3 -left-32 w-96 h-96 rounded-full bg-white"></div>
        </div>
        
        <div class="container mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
            <div class="max-w-4xl mx-auto">
                <div class="flex flex-wrap items-center gap-3 mb-6">
                    <span class="bg-white/20 text-white px-4 py-2 rounded-full text-sm font-medium">科技前沿</span>
                    <span class="bg-white/20 text-white px-4 py-2 rounded-full text-sm font-medium">量子计算</span>
                    <span class="bg-white/20 text-white px-4 py-2 rounded-full text-sm font-medium">未来科技</span>
                </div>
                
                <h1 class="text-4xl md:text-5xl font-bold text-white mb-6 leading-tight text-shadow">
                    量子计算：下一代计算革命的机遇与挑战
                </h1>
                
                <div class="flex flex-col md:flex-row items-start md:items-center gap-6 mb-8">
                    <div class="flex items-center">
                        <img src="https://picsum.photos/id/1074/100/100" alt="作者头像" class="w-12 h-12 rounded-full object-cover border-2 border-white/30">
                        <div class="ml-4">
                            <p class="text-white font-medium">吴科技</p>
                            <p class="text-white/80 text-sm">量子计算研究员 · 3天前</p>
                        </div>
                    </div>
                    
                    <div class="flex items-center gap-6 text-white/90">
                        <span class="flex items-center">
                            <i class="fa fa-eye mr-2" aria-hidden="true"></i> 4.2k 阅读
                        </span>
                        <span class="flex items-center">
                            <i class="fa fa-comment-o mr-2" aria-hidden="true"></i> 124 评论
                        </span>
                        <span class="flex items-center">
                            <i class="fa fa-clock-o mr-2" aria-hidden="true"></i> 15 分钟阅读
                        </span>
                    </div>
                </div>
                
                <div class="flex items-center gap-4">
                    <button class="flex items-center gap-2 bg-white/10 hover:bg-white/20 text-white px-5 py-3 rounded-lg transition-all">
                        <i class="fa fa-bookmark-o" aria-hidden="true"></i>
                        <span>收藏文章</span>
                    </button>
                    <button class="flex items-center gap-2 bg-white/10 hover:bg-white/20 text-white px-5 py-3 rounded-lg transition-all">
                        <i class="fa fa-share-alt" aria-hidden="true"></i>
                        <span>分享</span>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 波浪分隔符 -->
        <div class="absolute bottom-0 left-0 right-0">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100" class="w-full h-auto">
                <path fill="#f9fafb" fill-opacity="1" d="M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,48C1120,43,1280,53,1360,58.7L1440,64L1440,100L1360,100C1280,100,1120,100,960,100C800,100,640,100,480,100C320,100,160,100,80,100L0,100Z"></path>
            </svg>
        </div>
    </section>

    <!-- 主要内容区 -->
    <main class="container mx-auto px-4 sm:px-6 lg:px-8 py-12">
        <div class="flex flex-col lg:flex-row gap-10">
            <!-- 文章主体 -->
            <article class="lg:w-3/4">
                <!-- 文章封面图 -->
                <div class="rounded-2xl overflow-hidden mb-10 shadow-lg">
                    <img src="https://picsum.photos/id/1071/1200/600" alt="量子计算：下一代计算革命的机遇与挑战" class="w-full h-auto">
                </div>
                
                <!-- 文章内容 -->
                <div class="bg-white rounded-2xl shadow-md p-8 mb-12">
                    <div class="prose prose-lg max-w-none">
                        <p class="lead text-xl text-gray-700 mb-8">
                            量子计算正从实验室走向商业应用，它利用量子力学的独特原理，有望解决传统计算机在有限时间内无法处理的复杂问题。本文将深入解析量子计算的基本原理、当前发展状况以及未来可能带来的产业变革。
                        </p>
                        
                        <h2 class="text-2xl md:text-3xl font-bold text-gray-900 mt-10 mb-6">量子计算的基本原理</h2>
                        
                        <p>与传统计算机使用二进制位（bit）不同，量子计算机使用量子位（qubit）作为基本信息单位。量子位具有独特的量子特性，使其能够以传统计算机无法实现的方式进行信息处理：</p>
                        
                        <ul class="list-disc pl-5 my-6 space-y-3">
                            <li><strong>叠加态（Superposition）</strong>：量子位可以同时处于0和1的叠加状态，而不仅仅是0或1中的一个</li>
                            <li><strong>纠缠（Entanglement）</strong>：多个量子位可以形成纠缠状态，其中一个量子位的状态变化会瞬时影响其他量子位</li>
                            <li><strong>量子干涉（Quantum Interference）</strong>：量子状态之间可以相互干涉，类似于波的干涉现象，这被用于增强正确答案的概率</li>
                        </ul>
                        
                        <p>这些特性使量子计算机在特定问题上（如大数分解、数据库搜索、量子模拟等）具有指数级或多项式级的速度优势。</p>
                        
                        <blockquote class="border-l-4 border-blue-600 pl-6 italic my-8 text-gray-700">
                            <p>"量子计算不是为了取代传统计算机，而是为了解决传统计算机难以处理的特定问题。它们将共同构成未来的计算生态系统。"</p>
                            <footer class="text-right mt-2 text-gray-600">— 量子计算科学家，IBM研究院</footer>
                        </blockquote>
                        
                        <h2 class="text-2xl md:text-3xl font-bold text-gray-900 mt-10 mb-6">当前发展状况与技术路线</h2>
                        
                        <p>目前量子计算仍处于早期发展阶段，主要技术路线包括：</p>
                        
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-6 my-8">
                            <div class="bg-gray-50 p-5 rounded-xl">
                                <h3 class="font-bold text-lg mb-3 text-blue-600">超导量子计算</h3>
                                <p class="text-gray-600 text-sm">
                                    利用超导电路实现量子位，需要极低温环境（接近绝对零度）。代表企业包括IBM、Google、Rigetti等。
                                </p>
                            </div>
                            <div class="bg-gray-50 p-5 rounded-xl">
                                <h3 class="font-bold text-lg mb-3 text-blue-600">离子阱量子计算</h3>
                                <p class="text-gray-600 text-sm">
                                    使用带电原子（离子）作为量子位，在真空中通过激光操控。代表企业包括IonQ、Honeywell Quantum Solutions等。
                                </p>
                            </div>
                            <div class="bg-gray-50 p-5 rounded-xl">
                                <h3 class="font-bold text-lg mb-3 text-blue-600">光量子计算</h3>
                                <p class="text-gray-600 text-sm">
                                    利用光子的量子特性进行计算，室温下即可运行。代表企业包括Xanadu、PsiQuantum等。
                                </p>
                            </div>
                        </div>
                        
                        <p>2019年，Google宣布实现了"量子优越性"（Quantum Supremacy），其53量子位的Sycamore处理器完成了传统超级计算机需要数千年才能完成的计算任务（尽管这一说法后来受到IBM的质疑）。</p>
                        
                        <h2 class="text-2xl md:text-3xl font-bold text-gray-900 mt-10 mb-6">量子计算的应用前景</h2>
                        
                        <p>量子计算有望在多个领域带来革命性突破：</p>
                        
                        <h3 class="text-xl font-bold text-gray-900 mt-8 mb-4">密码学与网络安全</h3>
                        
                        <p>量子计算机可以轻松破解当前广泛使用的RSA和ECC等加密算法，这促使研究者开发能够抵抗量子计算攻击的"后量子密码学"（Post-Quantum Cryptography）。</p>
                        
                        <h3 class="text-xl font-bold text-gray-900 mt-8 mb-4">药物研发与材料科学</h3>
                        
                        <p>量子计算机能够精确模拟分子和材料的量子行为，加速新药和新材料的研发过程。例如，它可以帮助设计更高效的太阳能电池材料或更有效的抗癌药物。</p>
                        
                        <h3 class="text-xl font-bold text-gray-900 mt-8 mb-4">优化问题</h3>
                        
                        <p>许多现实世界的优化问题（如物流路线规划、供应链优化、金融投资组合优化等）在量子计算上可以得到更高效的解决方案。</p>
                        
                        <h3 class="text-xl font-bold text-gray-900 mt-8 mb-4">人工智能与机器学习</h3>
                        
                        <p>量子机器学习算法有望在模式识别、数据分类等任务上超越传统机器学习方法，为人工智能带来新的发展动力。</p>
                        
                        <div class="my-10">
                            <img src="https://picsum.photos/id/1070/1000/500" alt="量子计算实验室" class="w-full h-auto rounded-xl shadow-md">
                            <p class="text-center text-gray-500 text-sm mt-2">量子计算实验室中的超导量子处理器，需要在极低温环境下运行</p>
                        </div>
                        
                        <h2 class="text-2xl md:text-3xl font-bold text-gray-900 mt-10 mb-6">面临的挑战与限制</h2>
                        
                        <p>尽管前景广阔，量子计算仍面临诸多挑战：</p>
                        
                        <ol class="list-decimal pl-5 my-6 space-y-3">
                            <li><strong>量子退相干（Quantum Decoherence）</strong>：量子位非常脆弱，容易受到环境干扰而失去量子特性，这是构建大规模量子计算机的主要障碍</li>
                            <li><strong>错误校正</strong>：量子计算需要高效的错误校正机制，但实现这一点需要大量的物理量子位来编码一个逻辑量子位</li>
                            <li><strong>可扩展性</strong>：目前的量子处理器只有几十个到几百个量子位，要实现实用的量子计算，可能需要数百万甚至数十亿个量子位</li>
                            <li><strong>算法开发</strong>：适合量子计算的应用算法相对有限，需要更多的研究来发掘量子计算的潜力</li>
                            <li><strong>成本与复杂性</strong>：构建和维护量子计算机的成本极高，尤其是超导和离子阱量子计算机</li>
                        </ol>
                        
                        <h2 class="text-2xl md:text-3xl font-bold text-gray-900 mt-10 mb-6">未来展望</h2>
                        
                        <p>大多数专家认为，量子计算将遵循"NISQ时代"（嘈杂的中等规模量子，Noisy Intermediate-Scale Quantum）到容错量子计算的发展路径。在NISQ时代，我们可能会看到一些特定领域的量子优势应用，而通用容错量子计算机可能还需要10-20年的发展。</p>
                        
                        <p>量子计算不太可能完全取代传统计算机，而是会形成一种混合计算模式：传统计算机处理日常任务，量子计算机处理特定的复杂问题。云量子计算服务（如IBM Quantum Experience、Amazon Braket）已经出现，允许开发者和研究人员在远程量子处理器上进行实验。</p>
                        
                        <p class="mt-6">对于企业和组织而言，现在正是关注量子计算发展、评估潜在影响并开始制定量子战略的时机。虽然大规模量子计算机还很遥远，但提前做好准备将有助于在量子时代获得竞争优势。</p>
                    </div>
                </div>
                
                <!-- 文章标签与操作 -->
                <div class="bg-white rounded-2xl shadow-md p-6 mb-12">
                    <div class="flex flex-col md:flex-row justify-between items-start md:items-center gap-6">
                        <div>
                            <h3 class="font-bold text-gray-900 mb-3">文章标签</h3>
                            <div class="flex flex-wrap gap-2">
                                <a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-700 px-3 py-1.5 rounded-full text-sm transition-colors">量子计算</a>
                                <a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-700 px-3 py-1.5 rounded-full text-sm transition-colors">未来科技</a>
                                <a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-700 px-3 py-1.5 rounded-full text-sm transition-colors">计算机科学</a>
                                <a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-700 px-3 py-1.5 rounded-full text-sm transition-colors">量子力学</a>
                                <a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-700 px-3 py-1.5 rounded-full text-sm transition-colors">技术创新</a>
                            </div>
                        </div>
                        
                        <div class="flex flex-wrap gap-3">
                            <button class="flex items-center gap-2 bg-gray-100 hover:bg-gray-200 text-gray-700 px-4 py-2 rounded-lg transition-colors">
                                <i class="fa fa-thumbs-o-up" aria-hidden="true"></i>
                                <span>412 点赞</span>
                            </button>
                            <button class="flex items-center gap-2 bg-gray-100 hover:bg-gray-200 text-gray-700 px-4 py-2 rounded-lg transition-colors">
                                <i class="fa fa-bookmark-o" aria-hidden="true"></i>
                                <span>收藏</span>
                            </button>
                            <button class="flex items-center gap-2 bg-gray-100 hover:bg-gray-200 text-gray-700 px-4 py-2 rounded-lg transition-colors">
                                <i class="fa fa-share-alt" aria-hidden="true"></i>
                                <span>分享</span>
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- 作者信息 -->
                <div class="bg-white rounded-2xl shadow-md p-6 mb-12">
                    <div class="flex flex-col md:flex-row items-start md:items-center gap-6">
                        <img src="https://picsum.photos/id/1074/100/100" alt="吴科技" class="w-20 h-20 rounded-full object-cover border-4 border-gray-100">
                        
                        <div class="flex-grow">
                            <div class="flex flex-col md:flex-row md:items-center justify-between gap-4">
                                <div>
                                    <h3 class="text-xl font-bold text-gray-900">吴科技</h3>
                                    <p class="text-gray-600">量子计算研究员 · 前IBM量子实验室成员</p>
                                </div>
                                
                                <button class="bg-blue-600 hover:bg-blue-700 text-white px-5 py-2 rounded-lg transition-colors self-start md:self-auto">
                                    关注作者
                                </button>
                            </div>
                            
                            <p class="text-gray-600 mt-4">
                                量子计算领域专家，拥有10年量子算法与量子信息研究经验，曾参与多项国际量子计算合作项目，现致力于量子计算科普与应用推广。
                            </p>
                            
                            <div class="flex items-center gap-6 mt-4">
                                <div class="text-center">
                                    <p class="font-bold text-gray-900">48</p>
                                    <p class="text-gray-500 text-sm">文章</p>
                                </div>
                                <div class="text-center">
                                    <p class="font-bold text-gray-900">12.8k</p>
                                    <p class="text-gray-500 text-sm">粉丝</p>
                                </div>
                                <div class="text-center">
                                    <p class="font-bold text-gray-900">3.2M</p>
                                    <p class="text-gray-500 text-sm">总阅读</p>
                                </div>
                                
                                <div class="ml-auto flex gap-3">
                                    <a href="#" class="text-gray-400 hover:text-blue-600 transition-colors">
                                        <i class="fa fa-twitter text-xl" aria-hidden="true"></i>
                                    </a>
                                    <a href="#" class="text-gray-400 hover:text-blue-600 transition-colors">
                                        <i class="fa fa-linkedin text-xl" aria-hidden="true"></i>
                                    </a>
                                    <a href="#" class="text-gray-400 hover:text-blue-600 transition-colors">
                                        <i class="fa fa-github text-xl" aria-hidden="true"></i>
                                    </a>
                                    <a href="#" class="text-gray-400 hover:text-blue-600 transition-colors">
                                        <i class="fa fa-globe text-xl" aria-hidden="true"></i>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 评论区 -->
                <div class="bg-white rounded-2xl shadow-md p-6 mb-12">
                    <div class="flex justify-between items-center mb-8">
                        <h2 class="text-2xl font-bold text-gray-900">读者评论 (124)</h2>
                        <div class="flex items-center">
                            <span class="text-gray-600 mr-2">排序:</span>
                            <select class="bg-gray-100 border border-gray-200 text-gray-700 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
                                <option>最新</option>
                                <option>热门</option>
                                <option>最早</option>
                            </select>
                        </div>
                    </div>
                    
                    <!-- 评论输入框 -->
                    <div class="mb-10">
                        <div class="flex gap-4">
                            <img src="https://picsum.photos/id/1005/100/100" alt="当前用户头像" class="w-10 h-10 rounded-full object-cover">
                            
                            <div class="flex-grow">
                                <textarea placeholder="分享你对这篇文章的看法..." class="w-full border border-gray-200 rounded-xl p-4 focus:outline-none focus:ring-2 focus:ring-blue-500 resize-none transition-shadow" rows="4"></textarea>
                                
                                <div class="flex justify-between items-center mt-4">
                                    <div class="flex items-center gap-4">
                                        <button class="text-gray-500 hover:text-blue-600 transition-colors">
                                            <i class="fa fa-image text-lg" aria-hidden="true"></i>
                                        </button>
                                        <button class="text-gray-500 hover:text-blue-600 transition-colors">
                                            <i class="fa fa-smile-o text-lg" aria-hidden="true"></i>
                                        </button>
                                        <button class="text-gray-500 hover:text-blue-600 transition-colors">
                                            <i class="fa fa-code text-lg" aria-hidden="true"></i>
                                        </button>
                                        <span class="text-gray-500 text-sm">请遵守社区规范，文明发言</span>
                                    </div>
                                    
                                    <button class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-colors font-medium">
                                        发布评论
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 评论列表 -->
                    <div class="space-y-8">
                        <!-- 评论 1 -->
                        <div class="comment-line">
                            <div class="flex gap-4">
                                <img src="https://picsum.photos/id/1012/100/100" alt="评论用户头像" class="w-10 h-10 rounded-full object-cover">
                                
                                <div class="flex-grow">
                                    <div class="bg-gray-50 rounded-xl p-5">
                                        <div class="flex justify-between items-start">
                                            <div>
                                                <h4 class="font-medium text-gray-900">张教授</h4>
                                                <p class="text-gray-500 text-sm">清华大学物理系 · 2天前</p>
                                            </div>
                                            <button class="text-gray-400 hover:text-gray-600 transition-colors">
                                                <i class="fa fa-ellipsis-h" aria-hidden="true"></i>
                                            </button>
                                        </div>
                                        
                                        <div class="mt-3">
                                            <p class="text-gray-700">
                                                非常全面的量子计算科普文章！作为物理领域的研究者，我认为作者对量子计算现状的评估非常客观。量子退相干确实是当前最大的挑战，近年来在拓扑量子比特方面的研究可能为解决这一问题提供新的思路，值得关注。
                                            </p>
                                        </div>
                                        
                                        <div class="flex items-center gap-6 mt-4">
                                            <button class="flex items-center text-gray-500 hover:text-red-500 transition-colors">
                                                <i class="fa fa-heart-o mr-2" aria-hidden="true"></i>
                                                <span>86</span>
                                            </button>
                                            <button class="reply-btn flex items-center text-gray-500 hover:text-blue-600 transition-colors">
                                                <i class="fa fa-reply mr-2" aria-hidden="true"></i>
                                                <span>回复</span>
                                            </button>
                                        </div>
                                        
                                        <!-- 回复框 (默认隐藏) -->
                                        <div class="reply-form hidden mt-4">
                                            <div class="flex gap-3">
                                                <img src="https://picsum.photos/id/1005/100/100" alt="当前用户头像" class="w-8 h-8 rounded-full object-cover">
                                                <div class="flex-grow">
                                                    <textarea placeholder="回复 @张教授..." class="w-full border border-gray-200 rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-blue-500 resize-none transition-shadow" rows="2"></textarea>
                                                    <div class="flex justify-end gap-3 mt-2">
                                                        <button class="cancel-reply text-gray-500 hover:text-gray-700 transition-colors">取消</button>
                                                        <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-1.5 rounded-lg transition-colors text-sm">
                                                            回复
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        
                                        <!-- 子评论 -->
                                        <div class="mt-6 ml-6 pl-4 border-l-2 border-gray-100 space-y-6">
                                            <!-- 子评论 1 -->
                                            <div class="flex gap-3">
                                                <img src="https://picsum.photos/id/1074/100/100" alt="作者头像" class="w-8 h-8 rounded-full object-cover">
                                                <div class="flex-grow">
                                                    <div class="bg-gray-50 rounded-lg p-4">
                                                        <div class="flex justify-between items-start">
                                                            <div>
                                                                <h4 class="font-medium text-gray-900">吴科技 <span class="bg-blue-100 text-blue-800 text-xs px-2 py-0.5 rounded-full ml-2">作者</span></h4>
                                                                <p class="text-gray-500 text-sm">1天前</p>
                                                            </div>
                                                            <button class="text-gray-400 hover:text-gray-600 transition-colors">
                                                                <i class="fa fa-ellipsis-h" aria-hidden="true"></i>
                                                            </button>
                                                        </div>
                                                        
                                                        <div class="mt-2">
                                                            <p class="text-gray-700">
                                                                @张教授 感谢您的专业补充！拓扑量子比特确实是一个很有前景的方向，微软在这一领域投入了大量资源。不过，拓扑量子比特的实现难度也非常大，目前还处于早期研究阶段。除了拓扑保护，我认为表面码（surface code）量子纠错方案在短期内更有可能实现实用化。
                                                            </p>
                                                        </div>
                                                        
                                                        <div class="flex items-center gap-6 mt-3">
                                                            <button class="flex items-center text-gray-500 hover:text-red-500 transition-colors">
                                                                <i class="fa fa-heart-o mr-2" aria-hidden="true"></i>
                                                                <span>42</span>
                                                            </button>
                                                            <button class="reply-btn flex items-center text-gray-500 hover:text-blue-600 transition-colors">
                                                                <i class="fa fa-reply mr-2" aria-hidden="true"></i>
                                                                <span>回复</span>
                                                            </button>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 评论 2 -->
                        <div class="comment-line">
                            <div class="flex gap-4">
                                <img src="https://picsum.photos/id/1025/100/100" alt="评论用户头像" class="w-10 h-10 rounded-full object-cover">
                                
                                <div class="flex-grow">
                                    <div class="bg-gray-50 rounded-xl p-5">
                                        <div class="flex justify-between items-start">
                                            <div>
                                                <h4 class="font-medium text-gray-900">李工程师</h4>
                                                <p class="text-gray-500 text-sm">某科技公司算法工程师 · 3天前</p>
                                            </div>
                                            <button class="text-gray-400 hover:text-gray-600 transition-colors">
                                                <i class="fa fa-ellipsis-h" aria-hidden="true"></i>
                                            </button>
                                        </div>
                                        
                                        <div class="mt-3">
                                            <p class="text-gray-700">
                                                作为一名软件工程师，我非常关心量子计算对软件开发的影响。文章中提到的量子机器学习很有吸引力，请问作者认为传统程序员需要提前学习哪些知识来应对量子计算时代的到来？是否有适合初学者的量子编程入门资源推荐？
                                            </p>
                                        </div>
                                        
                                        <div class="flex items-center gap-6 mt-4">
                                            <button class="flex items-center text-gray-500 hover:text-red-500 transition-colors">
                                                <i class="fa fa-heart-o mr-2" aria-hidden="true"></i>
                                                <span>63</span>
                                            </button>
                                            <button class="reply-btn flex items-center text-gray-500 hover:text-blue-600 transition-colors">
                                                <i class="fa fa-reply mr-2" aria-hidden="true"></i>
                                                <span>回复</span>
                                            </button>
                                        </div>
                                        
                                        <!-- 回复框 (默认隐藏) -->
                                        <div class="reply-form hidden mt-4">
                                            <div class="flex gap-3">
                                                <img src="https://picsum.photos/id/1005/100/100" alt="当前用户头像" class="w-8 h-8 rounded-full object-cover">
                                                <div class="flex-grow">
                                                    <textarea placeholder="回复 @李工程师..." class="w-full border border-gray-200 rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-blue-500 resize-none transition-shadow" rows="2"></textarea>
                                                    <div class="flex justify-end gap-3 mt-2">
                                                        <button class="cancel-reply text-gray-500 hover:text-gray-700 transition-colors">取消</button>
                                                        <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-1.5 rounded-lg transition-colors text-sm">
                                                            回复
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        
                                        <!-- 子评论 -->
                                        <div class="mt-6 ml-6 pl-4 border-l-2 border-gray-100 space-y-6">
                                            <!-- 子评论 1 -->
                                            <div class="flex gap-3">
                                                <img src="https://picsum.photos/id/1074/100/100" alt="作者头像" class="w-8 h-8 rounded-full object-cover">
                                                <div class="flex-grow">
                                                    <div class="bg-gray-50 rounded-lg p-4">
                                                        <div class="flex justify-between items-start">
                                                            <div>
                                                                <h4 class="font-medium text-gray-900">吴科技 <span class="bg-blue-100 text-blue-800 text-xs px-2 py-0.5 rounded-full ml-2">作者</span></h4>
                                                                <p class="text-gray-500 text-sm">2天前</p>
                                                            </div>
                                                            <button class="text-gray-400 hover:text-gray-600 transition-colors">
                                                                <i class="fa fa-ellipsis-h" aria-hidden="true"></i>
                                                            </button>
                                                        </div>
                                                        
                                                        <div class="mt-2">
                                                            <p class="text-gray-700">
                                                                @李工程师 对于软件工程师来说，不需要深入理解量子力学也可以开始学习量子编程。建议从以下几个方面入手：
                                                            </p>
                                                            <ul class="list-disc pl-5 mt-2 space-y-1 text-gray-700">
                                                                <li>基本的线性代数知识（向量、矩阵运算）</li>
                                                                <li>量子计算的基本概念（量子位、叠加、纠缠等）</li>
                                                                <li>学习量子编程框架，如Qiskit（IBM）、Cirq（Google）或Q#（Microsoft）</li>
                                                            </ul>
                                                            <p class="text-gray-700 mt-2">
                                                                入门资源推荐IBM Quantum Experience的在线教程，以及MIT的"Quantum Computing for Computer Scientists"课程。
                                                            </p>
                                                        </div>
                                                        
                                                        <div class="flex items-center gap-6 mt-3">
                                                            <button class="flex items-center text-gray-500 hover:text-red-500 transition-colors">
                                                                <i class="fa fa-heart-o mr-2" aria-hidden="true"></i>
                                                                <span>37</span>
                                                            </button>
                                                            <button class="reply-btn flex items-center text-gray-500 hover:text-blue-600 transition-colors">
                                                                <i class="fa fa-reply mr-2" aria-hidden="true"></i>
                                                                <span>回复</span>
                                                            </button>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 评论 3 -->
                        <div class="comment-line">
                            <div class="flex gap-4">
                                <img src="https://picsum.photos/id/1066/100/100" alt="评论用户头像" class="w-10 h-10 rounded-full object-cover">
                                
                                <div class="flex-grow">
                                    <div class="bg-gray-50 rounded-xl p-5">
                                        <div class="flex justify-between items-start">
                                            <div>
                                                <h4 class="font-medium text-gray-900">王投资者</h4>
                                                <p class="text-gray-500 text-sm">某风投公司合伙人 · 3天前</p>
                                            </div>
                                            <button class="text-gray-400 hover:text-gray-600 transition-colors">
                                                <i class="fa fa-ellipsis-h" aria-hidden="true"></i>
                                            </button>
                                        </div>
                                        
                                        <div class="mt-3">
                                            <p class="text-gray-700">
                                                从投资角度来看，量子计算无疑是一个潜力巨大的领域。但目前该领域的创业公司估值普遍较高，技术成熟度参差不齐。作者认为未来3-5年内，哪些量子计算的应用场景最有可能实现商业化并产生实际收益？对于投资者来说，哪些技术路线或细分领域更值得关注？
                                            </p>
                                        </div>
                                        
                                        <div class="flex items-center gap-6 mt-4">
                                            <button class="flex items-center text-gray-500 hover:text-red-500 transition-colors">
                                                <i class="fa fa-heart-o mr-2" aria-hidden="true"></i>
                                                <span>51</span>
                                            </button>
                                            <button class="reply-btn flex items-center text-gray-500 hover:text-blue-600 transition-colors">
                                                <i class="fa fa-reply mr-2" aria-hidden="true"></i>
                                                <span>回复</span>
                                            </button>
                                        </div>
                                        
                                        <!-- 回复框 (默认隐藏) -->
                                        <div class="reply-form hidden mt-4">
                                            <div class="flex gap-3">
                                                <img src="https://picsum.photos/id/1005/100/100" alt="当前用户头像" class="w-8 h-8 rounded-full object-cover">
                                                <div class="flex-grow">
                                                    <textarea placeholder="回复 @王投资者..." class="w-full border border-gray-200 rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-blue-500 resize-none transition-shadow" rows="2"></textarea>
                                                    <div class="flex justify-end gap-3 mt-2">
                                                        <button class="cancel-reply text-gray-500 hover:text-gray-700 transition-colors">取消</button>
                                                        <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-1.5 rounded-lg transition-colors text-sm">
                                                            回复
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 加载更多评论 -->
                    <div class="text-center mt-10">
                        <button class="bg-gray-100 hover:bg-gray-200 text-gray-700 font-medium px-6 py-3 rounded-lg transition-colors">
                            加载更多评论 <i class="fa fa-angle-down ml-2" aria-hidden="true"></i>
                        </button>
                    </div>
                </div>
            </article>
            
            <!-- 侧边栏 -->
            <aside class="lg:w-1/4">
                <!-- 文章信息卡片 -->
                <div class="bg-white rounded-2xl shadow-md p-6 mb-8 sticky top-28">
                    <h3 class="text-lg font-bold text-gray-900 mb-4">文章信息</h3>
                    
                    <div class="space-y-4 text-sm">
                        <div class="flex justify-between">
                            <span class="text-gray-500">发布日期</span>
                            <span class="text-gray-900">2023年10月15日</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-500">更新日期</span>
                            <span class="text-gray-900">2023年10月16日</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-500">阅读时间</span>
                            <span class="text-gray-900">15 分钟</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-500">阅读量</span>
                            <span class="text-gray-900">4,256</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-500">评论数</span>
                            <span class="text-gray-900">124</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-500">点赞数</span>
                            <span class="text-gray-900">412</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-500">收藏数</span>
                            <span class="text-gray-900">289</span>
                        </div>
                    </div>
                    
                    <div class="border-t border-gray-100 my-5 pt-5">
                        <button class="w-full flex items-center justify-center gap-2 bg-blue-600 hover:bg-blue-700 text-white px-4 py-3 rounded-lg transition-colors">
                            <i class="fa fa-bookmark-o" aria-hidden="true"></i>
                            <span>收藏本文</span>
                        </button>
                    </div>
                    
                    <div>
                        <h3 class="text-lg font-bold text-gray-900 mb-4">分享文章</h3>
                        <div class="flex gap-3">
                            <a href="#" class="w-10 h-10 rounded-full bg-[#1DA1F2]/10 hover:bg-[#1DA1F2]/20 text-[#1DA1F2] flex items-center justify-center transition-colors">
                                <i class="fa fa-twitter" aria-hidden="true"></i>
                            </a>
                            <a href="#" class="w-10 h-10 rounded-full bg-[#4267B2]/10 hover:bg-[#4267B2]/20 text-[#4267B2] flex items-center justify-center transition-colors">
                                <i class="fa fa-facebook" aria-hidden="true"></i>
                            </a>
                            <a href="#" class="w-10 h-10 rounded-full bg-[#0077B5]/10 hover:bg-[#0077B5]/20 text-[#0077B5] flex items-center justify-center transition-colors">
                                <i class="fa fa-linkedin" aria-hidden="true"></i>
                            </a>
                            <a href="#" class="w-10 h-10 rounded-full bg-[#25D366]/10 hover:bg-[#25D366]/20 text-[#25D366] flex items-center justify-center transition-colors">
                                <i class="fa fa-whatsapp" aria-hidden="true"></i>
                            </a>
                            <a href="#" class="w-10 h-10 rounded-full bg-gray-100 hover:bg-gray-200 text-gray-700 flex items-center justify-center transition-colors">
                                <i class="fa fa-envelope-o" aria-hidden="true"></i>
                            </a>
                        </div>
                    </div>
                </div>
                
                <!-- 相关推荐 -->
                <div class="bg-white rounded-2xl shadow-md p-6 mb-8">
                    <h3 class="text-xl font-bold text-gray-900 mb-6">相关推荐</h3>
                    
                    <div class="space-y-6">
                        <a href="#" class="group flex gap-4">
                            <img src="https://picsum.photos/id/1040/300/200" alt="相关文章封面" class="w-24 h-24 rounded-lg object-cover">
                            <div>
                                <h4 class="font-medium text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-2">
                                    后量子密码学：保护未来数据安全的新范式
                                </h4>
                                <p class="text-gray-500 text-sm mt-1">3天前 · 12分钟阅读</p>
                            </div>
                        </a>
                        
                        <a href="#" class="group flex gap-4">
                            <img src="https://picsum.photos/id/1041/300/200" alt="相关文章封面" class="w-24 h-24 rounded-lg object-cover">
                            <div>
                                <h4 class="font-medium text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-2">
                                    量子机器学习：AI与量子计算的交叉融合
                                </h4>
                                <p class="text-gray-500 text-sm mt-1">1周前 · 10分钟阅读</p>
                            </div>
                        </a>
                        
                        <a href="#" class="group flex gap-4">
                            <img src="https://picsum.photos/id/1042/300/200" alt="相关文章封面" class="w-24 h-24 rounded-lg object-cover">
                            <div>
                                <h4 class="font-medium text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-2">
                                    云量子计算服务：企业接入量子时代的桥梁
                                </h4>
                                <p class="text-gray-500 text-sm mt-1">1周前 · 8分钟阅读</p>
                            </div>
                        </a>
                        
                        <a href="#" class="group flex gap-4">
                            <img src="https://picsum.photos/id/1043/300/200" alt="相关文章封面" class="w-24 h-24 rounded-lg object-cover">
                            <div>
                                <h4 class="font-medium text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-2">
                                    量子模拟：加速新材料与药物研发的利器
                                </h4>
                                <p class="text-gray-500 text-sm mt-1">2周前 · 14分钟阅读</p>
                            </div>
                        </a>
                        
                        <a href="#" class="group flex gap-4">
                            <img src="https://picsum.photos/id/1044/300/200" alt="相关文章封面" class="w-24 h-24 rounded-lg object-cover">
                            <div>
                                <h4 class="font-medium text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-2">
                                    全球量子计算竞赛：主要国家的战略布局
                                </h4>
                                <p class="text-gray-500 text-sm mt-1">2周前 · 11分钟阅读</p>
                            </div>
                        </a>
                    </div>
                </div>
                
                <!-- 作者其他文章 -->
                <div class="bg-white rounded-2xl shadow-md p-6 mb-8">
                    <h3 class="text-xl font-bold text-gray-900 mb-6">作者其他文章</h3>
                    
                    <div class="space-y-6">
                        <a href="#" class="group flex gap-4">
                            <img src="https://picsum.photos/id/1069/300/200" alt="作者文章封面" class="w-24 h-24 rounded-lg object-cover">
                            <div>
                                <h4 class="font-medium text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-2">
                                    量子计算与人工智能：构建下一代智能系统
                                </h4>
                                <p class="text-gray-500 text-sm mt-1">1个月前 · 16分钟阅读</p>
                            </div>
                        </a>
                        
                        <a href="#" class="group flex gap-4">
                            <img src="https://picsum.photos/id/1070/300/200" alt="作者文章封面" class="w-24 h-24 rounded-lg object-cover">
                            <div>
                                <h4 class="font-medium text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-2">
                                    量子算法入门：从Grover算法到Shor算法
                                </h4>
                                <p class="text-gray-500 text-sm mt-1">1个月前 · 18分钟阅读</p>
                            </div>
                        </a>
                        
                        <a href="#" class="group flex gap-4">
                            <img src="https://picsum.photos/id/1071/300/200" alt="作者文章封面" class="w-24 h-24 rounded-lg object-cover">
                            <div>
                                <h4 class="font-medium text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-2">
                                    量子计算硬件：超导、离子阱与光量子技术对比
                                </h4>
                                <p class="text-gray-500 text-sm mt-1">2个月前 · 20分钟阅读</p>
                            </div>
                        </a>
                    </div>
                    
                    <div class="text-center mt-6">
                        <a href="#" class="inline-flex items-center text-blue-600 hover:text-blue-700 font-medium transition-colors">
                            查看作者全部文章 <i class="fa fa-long-arrow-right ml-2" aria-hidden="true"></i>
                        </a>
                    </div>
                </div>
                
                <!-- 订阅专栏 -->
                <div class="bg-gradient-to-br from-blue-600 to-indigo-700 rounded-2xl p-6 text-white">
                    <h3 class="text-xl font-bold mb-3">订阅科技前沿专栏</h3>
                    <p class="mb-4 text-blue-100 text-sm">
                        获取吴科技的最新量子计算与前沿科技文章，每周更新
                    </p>
                    
                    <form>
                        <div class="mb-4">
                            <input type="email" placeholder="您的邮箱地址" class="w-full px-4 py-3 rounded-lg text-gray-800 focus:outline-none focus:ring-2 focus:ring-white">
                        </div>
                        <button type="submit" class="w-full bg-white text-blue-600 hover:bg-blue-50 font-medium py-3 rounded-lg transition-colors">
                            立即订阅
                        </button>
                    </form>
                    
                    <p class="text-xs text-blue-200 mt-3">
                        我们尊重您的隐私，不会向第三方分享您的信息
                    </p>
                </div>
            </aside>
        </div>
    </main>

    <!-- 订阅区域 -->
    <section class="bg-gradient-to-r from-blue-800 to-indigo-900 rounded-3xl p-8 md:p-12 text-white relative overflow-hidden my-16 mx-4">
        <!-- 装饰元素 -->
        <div class="absolute top-0 right-0 w-1/3 h-full opacity-10">
            <div class="absolute -right-20 -top-20 w-80 h-80 rounded-full bg-white"></div>
            <div class="absolute right-20 bottom-10 w-40 h-40 rounded-full bg-white"></div>
        </div>
        
        <div class="max-w-4xl mx-auto relative z-10">
            <div class="text-center mb-8">
                <h2 class="text-3xl md:text-4xl font-bold mb-4">不错过任何精彩内容</h2>
                <p class="text-blue-100 max-w-2xl mx-auto">订阅我们的周刊，每周精选优质文章直达您的邮箱</p>
            </div>
            
            <form class="max-w-2xl mx-auto">
                <div class="flex flex-col sm:flex-row gap-3">
                    <input type="email" placeholder="输入您的邮箱地址" class="flex-grow px-5 py-4 rounded-xl text-gray-800 focus:outline-none focus:ring-2 focus:ring-white">
                    <button type="submit" class="bg-white text-blue-800 hover:bg-blue-50 font-bold px-8 py-4 rounded-xl transition-colors shadow-lg whitespace-nowrap">
                        立即订阅
                    </button>
                </div>
                <p class="text-xs text-blue-200 mt-4 text-center">我们尊重您的隐私，绝不会向第三方分享您的信息</p>
            </form>
        </div>
    </section>

    <!-- 页脚 -->
    <footer class="bg-gray-900 text-gray-400 pt-16 pb-8">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-10 mb-16">
                <div class="lg:col-span-2">
                    <div class="flex items-center space-x-3 mb-6">
                        <div class="w-10 h-10 rounded-lg bg-white flex items-center justify-center">
                            <i class="fa fa-lightbulb-o text-2xl text-blue-600" aria-hidden="true"></i>
                        </div>
                        <span class="text-2xl font-bold text-white">InsightBlog</span>
                    </div>
                    <p class="mb-6 max-w-md">
                        InsightBlog 致力于汇聚全球优质思想内容，为读者提供有深度、有价值的阅读体验，让每一次阅读都成为思想的启迪。
                    </p>
                    <div class="flex space-x-5">
                        <a href="#" class="w-10 h-10 rounded-full bg-gray-800 hover:bg-blue-600 flex items-center justify-center transition-colors">
                            <i class="fa fa-twitter" aria-hidden="true"></i>
                        </a>
                        <a href="#" class="w-10 h-10 rounded-full bg-gray-800 hover:bg-blue-600 flex items-center justify-center transition-colors">
                            <i class="fa fa-facebook" aria-hidden="true"></i>
                        </a>
                        <a href="#" class="w-10 h-10 rounded-full bg-gray-800 hover:bg-blue-600 flex items-center justify-center transition-colors">
                            <i class="fa fa-instagram" aria-hidden="true"></i>
                        </a>
                        <a href="#" class="w-10 h-10 rounded-full bg-gray-800 hover:bg-blue-600 flex items-center justify-center transition-colors">
                            <i class="fa fa-linkedin" aria-hidden="true"></i>
                        </a>
                        <a href="#" class="w-10 h-10 rounded-full bg-gray-800 hover:bg-blue-600 flex items-center justify-center transition-colors">
                            <i class="fa fa-youtube-play" aria-hidden="true"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h3 class="text-white font-bold text-lg mb-6">内容导航</h3>
                    <ul class="space-y-4">
                        <li><a href="#" class="hover:text-white transition-colors">热门文章</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">最新发布</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">专栏合集</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">编辑推荐</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">专题策划</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-white font-bold text-lg mb-6">关于我们</h3>
                    <ul class="space-y-4">
                        <li><a href="#" class="hover:text-white transition-colors">平台介绍</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">加入我们</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">作者招募</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">商务合作</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">联系我们</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-white font-bold text-lg mb-6">帮助中心</h3>
                    <ul class="space-y-4">
                        <li><a href="#" class="hover:text-white transition-colors">使用指南</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">社区规范</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">版权说明</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">隐私政策</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">常见问题</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="border-t border-gray-800 pt-8">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <p>&copy; 2023 InsightBlog. 保留所有权利</p>
                    <div class="flex space-x-6 mt-4 md:mt-0">
                        <a href="#" class="hover:text-white transition-colors">服务条款</a>
                        <a href="#" class="hover:text-white transition-colors">隐私政策</a>
                        <a href="#" class="hover:text-white transition-colors">Cookie 政策</a>
                    </div>
                </div>
            </div>
        </div>
    </footer>

    <!-- 返回顶部按钮 -->
    <button id="back-to-top" class="fixed bottom-8 right-8 bg-blue-600 hover:bg-blue-700 text-white w-12 h-12 rounded-full flex items-center justify-center shadow-lg transition-all duration-300 opacity-0 invisible z-50">
        <i class="fa fa-arrow-up" aria-hidden="true"></i>
    </button>

    <!-- JavaScript -->
    <script>
        // 移动端菜单切换
        const mobileMenuBtn = document.getElementById('mobile-menu-btn');
        const mobileMenu = document.getElementById('mobile-menu');
        
        mobileMenuBtn.addEventListener('click', () => {
            mobileMenu.classList.toggle('hidden');
        });
        
        // 导航栏滚动效果
        const header = document.getElementById('main-header');
        const backToTopBtn = document.getElementById('back-to-top');
        
        window.addEventListener('scroll', () => {
            const scrollPosition = window.pageYOffset;
            
            // 导航栏效果
            if (scrollPosition > 100) {
                header.classList.add('nav-scrolled');
                // 改变Logo颜色
                header.querySelector('.text-shadow').classList.remove('text-white');
                header.querySelector('.text-shadow').classList.add('text-gray-900');
                header.querySelector('.text-shadow').classList.remove('text-shadow');
            } else {
                header.classList.remove('nav-scrolled');
                // 恢复Logo颜色
                header.querySelector('.text-gray-900').classList.add('text-white');
                header.querySelector('.text-gray-900').classList.remove('text-gray-900');
                header.querySelector('.text-white').classList.add('text-shadow');
            }
            
            // 返回顶部按钮
            if (scrollPosition > 500) {
                backToTopBtn.classList.remove('opacity-0', 'invisible');
                backToTopBtn.classList.add('opacity-100', 'visible');
            } else {
                backToTopBtn.classList.add('opacity-0', 'invisible');
                backToTopBtn.classList.remove('opacity-100', 'visible');
            }
        });
        
        // 初始加载时设置正确的Logo样式
        window.addEventListener('load', () => {
            if (window.pageYOffset <= 100) {
                const logoText = header.querySelector('.text-shadow');
                logoText.classList.add('text-white');
                logoText.classList.remove('text-gray-900');
            }
        });
        
        // 返回顶部功能
        backToTopBtn.addEventListener('click', () => {
            window.scrollTo({
                top: 0,
                behavior: 'smooth'
            });
        });
        
        // 评论回复功能
        document.querySelectorAll('.reply-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                // 关闭其他所有回复框
                document.querySelectorAll('.reply-form').forEach(form => {
                    form.classList.add('hidden');
                });
                
                // 显示当前回复框
                const replyForm = this.parentElement.nextElementSibling;
                replyForm.classList.toggle('hidden');
                
                // 如果显示了回复框，自动聚焦到文本框
                if (!replyForm.classList.contains('hidden')) {
                    replyForm.querySelector('textarea').focus();
                }
            });
        });
        
        // 取消回复
        document.querySelectorAll('.cancel-reply').forEach(btn => {
            btn.addEventListener('click', function() {
                const replyForm = this.closest('.reply-form');
                replyForm.classList.add('hidden');
            });
        });
        
        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function(e) {
                e.preventDefault();
                
                const targetId = this.getAttribute('href');
                if (targetId === '#') return;
                
                const targetElement = document.querySelector(targetId);
                if (targetElement) {
                    targetElement.scrollIntoView({
                        behavior: 'smooth'
                    });
                    
                    // 关闭移动菜单
                    if (!mobileMenu.classList.contains('hidden')) {
                        mobileMenu.classList.add('hidden');
                    }
                }
            });
        });
    </script>
</body>
</html>